﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

/// <summary>
///dds_navigationitem 的摘要说明
/// </summary>
public class dds_navigationitem
{
	public dds_navigationitem()
	{
		//
		//TODO: 在此处添加构造函数逻辑
		//
	}

    public DataTable GetNavigationItemsByGroupID(int groupID)
    {
        string sql = "select * from dds_navigationitem where groupID="+groupID;
        return DataAccess.getInstance().Query(sql);
    }

    public bool Add(int groupID,string text,string value,string navigateUrl,string target,string IsShow)
    {
        string sql = "";
        return DataAccess.getInstance().ExecuteNonQuery(sql);
    }

    public bool Update()
    {
        string sql = "";
        return DataAccess.getInstance().ExecuteNonQuery(sql);
    }

    public bool Delete(int itemID)
    {
        string sql = "";
        return DataAccess.getInstance().ExecuteNonQuery(sql);
    }


}
